package com.pzhuweb.sgblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pzhuweb.sgblog.domain.dto.RoleDto;
import com.pzhuweb.sgblog.domain.dto.RoleStatusDto;
import com.pzhuweb.sgblog.domain.entity.Role;
import com.pzhuweb.sgblog.domain.utils.ResponseResult;

import java.util.List;

/**
 * @author 鄧浩奇
 * @classname SystemRoleService
 * @description
 * @since 2023/8/21 16:55
 **/

public interface SystemRoleService extends IService<Role> {
    ResponseResult<?> listAllRole();

    ResponseResult<?> getRolePage(Integer pageNum, Integer pageSize, String roleName, String status);

    ResponseResult<?> changeStatus(RoleStatusDto statusDto);

    ResponseResult<?> insertRole(RoleDto roleDto);

    ResponseResult<?> getRoleInfo(Long id);

    ResponseResult<?> updateRole(RoleDto roleDto);

    ResponseResult<?> deleteRoleById(List<Long> roleIds);
}
